package com.apexedu.biz.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TServiceMenu entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "T_SERVICE_MENU")
public class TServiceMenu implements java.io.Serializable {

	// Fields

	private String wid;
	private String serviceid;
	private String menuid;

	// Constructors

	/** default constructor */
	public TServiceMenu() {
	}

	/** minimal constructor */
	public TServiceMenu(String wid) {
		this.wid = wid;
	}

	/** full constructor */
	public TServiceMenu(String wid, String serviceid, String menuid) {
		this.wid = wid;
		this.serviceid = serviceid;
		this.menuid = menuid;
	}

	// Property accessors
	@Id
	@Column(name = "WID", unique = true, nullable = false, length = 50)
	public String getWid() {
		return this.wid;
	}

	public void setWid(String wid) {
		this.wid = wid;
	}

	@Column(name = "SERVICEID", length = 50)
	public String getServiceid() {
		return this.serviceid;
	}

	public void setServiceid(String serviceid) {
		this.serviceid = serviceid;
	}

	@Column(name = "MENUID", length = 50)
	public String getMenuid() {
		return this.menuid;
	}

	public void setMenuid(String menuid) {
		this.menuid = menuid;
	}

}